package com.ruoyi.business.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 水冷机历史数据对象 waterchillerhis
 * 
 * @author DL
 * @date 2025-07-07
 */
@Data
public class Waterchillerhis extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long ID;

    /** 低温水温 */
    @Excel(name = "低温水温")
    private BigDecimal LowWaterTemp;

    /** 高温水温 */
    @Excel(name = "高温水温")
    private BigDecimal HighWaterTemp;

    /** 低温流量 */
    @Excel(name = "低温流量")
    private BigDecimal LowWaterRate;

    /** 高温流量 */
    @Excel(name = "高温流量")
    private BigDecimal HighWaterRate;

    /** 压缩机电流 */
    @Excel(name = "压缩机电流")
    private BigDecimal CompressorCurrent;

    /** 泵浦电流 */
    @Excel(name = "泵浦电流")
    private BigDecimal PumpingCurrent;

    /** 环境温度 */
    @Excel(name = "环境温度")
    private BigDecimal AmbientTemp;

    /** 开关机(0/1) */
    @Excel(name = "开关机(0/1)")
    private String PowerOn;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private String State;

    /** 故障码 */
    @Excel(name = "故障码")
    private Long FalutNo;

    /** 写库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "写库时间")
    private Date EventTime;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("LowWaterTemp", getLowWaterTemp())
            .append("HighWaterTemp", getHighWaterTemp())
            .append("LowWaterRate", getLowWaterRate())
            .append("HighWaterRate", getHighWaterRate())
            .append("CompressorCurrent", getCompressorCurrent())
            .append("PumpingCurrent", getPumpingCurrent())
            .append("AmbientTemp", getAmbientTemp())
            .append("PowerOn", getPowerOn())
            .append("State", getState())
            .append("FalutNo", getFalutNo())
            .append("EventTime", getEventTime())
            .toString();
    }
}
